package com.damie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dadie.Domain.SiteDomain;
import com.dadie.Dto.SiteDto;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dadie.parame.SiteParame;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Alon
 * @since 2021-01-21
 */
public interface SiteService extends IService<SiteDomain> {

    Page<SiteDto> selectAllAddSite(Integer index,Integer size,SiteParame siteParame);

    SiteDto approved(String siteId);

    SiteDto delete(String siteId);

    SiteDto selectByAddSite(String siteId);

    Page<SiteDto> selectAllSite(Integer index, Integer size, SiteParame siteParame);

    SiteDto updateByIds(SiteParame siteParame);
}
